
package com.jly.controller.dto;

import cn.hutool.core.annotation.Alias;
import com.jly.entity.Menu;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * 接受前端登录请求的参数
 */
@Data

public class UserDTO {

    private  Integer id;
    @Alias("用户名")
    private  String username;
    @Alias("密码")
    private  String password;
    @Alias("昵称")
    private  String nickname;
    private  String avatarUrl;
    private  String token;
    private  String role;
    private List<Menu> menus;

}
